package org.lq.his.service;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.lq.his.pojo.Patient;
import org.lq.his.pojo.PatientRechargeRecord;


public interface PatientService {

	//查询所有病人档案
	public List<Patient> getAll();
	
	//根据分页进行查询所有病人档案
	public List<Patient> getListByCondition(@Param("start") int start,@Param("limit") int limit,@Param("condition") Patient condition,@Param("column") String column,@Param("orderBy") String orderBy);
	
	//查询条数
	public Integer getCountByCondition(@Param("condition") Patient condition);
	
	//添加病人档案
	public void add(Patient patient);
	
	//修改病人档案
	public void update(Patient patient);
	
	//根据ID查询病人
	public Patient getById(Integer id);
	
	//修改病人档案状态
	public void bathDeletePatient(Integer[] ids);
	
	//减去金额
	public Patient editPetientMoney(Integer id,Double money);
	
}
